Exynos5: ddr3: Choose between single or double channel config
authorAkshay Saraswat <[email protected]>
Thu, 13 Nov 2014 17:08:20 +0000 (22:38 +0530)
committerMinkyu Kang <[email protected]>
Mon, 17 Nov 2014 10:03:38 +0000 (19:03 +0900)
commit0e03e824652745d652c6b557307fa784ec1669aa
tree29731928d60cdb75ee5655caa48f3467f20b6487
parent43581c833876314b3cf556805465a3ab8d86d244
Exynos5: ddr3: Choose between single or double channel config

Add a 4G configuration and choose it based on the number of banks
declared in config file. A board with 4 SDRAM banks declared (as
per CONFIG_NR_DRAM_BANKS) will end up with the 2G confiuration.

Signed-off-by: Doug Anderson <[email protected]>
Signed-off-by: Akshay Saraswat <[email protected]>
Acked-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c